package org.dtrd.modules.flup.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.flup.entity.po.DtrdEntRdFlupTemplate;

/**
 * <p>
 * 复诊模版
 * </p>
 *
 * @author QR
 * @since 2021-12-21
 */
@Getter
@Setter
@ApiModel(value = "复诊模版详情")
public class FlupTemplateDetail {

    private Integer dataId;

    @ApiModelProperty("机构编码")
    private String orgCode;

    @ApiModelProperty("复诊模版名字")
    private String templateName;

    @ApiModelProperty("复诊模版描述")
    private String packageDesc;




    public FlupTemplateDetail parseFromPo(DtrdEntRdFlupTemplate po) {
        dataId = po.getDataId();
        orgCode = po.getOrgCode();
        templateName = po.getTemplateName();
        packageDesc = po.getPackageDesc();
        return this;
    }
}
